---------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/jamescross/Dropbox/GE2020/Images/Data/Data_Analysis/GE2020_analysis_final_log_file.log
  log type:  text
 opened on:  14 Aug 2025, 12:20:56

. do "/Users/jamescross/Dropbox/GE2020/Images/Data/Data_Analysis/GE2020_analysis_final.do"

. 
. ************************************
. ***Project and author information***
. ************************************
. 
. * Project: Mapping digital campaign strategies: How political candidates use social media to communicate constituency connection and policy stance
. * Script: GE2020_analysis_final.do
. * Date: 13 July 2022
. * Authors: James P Cross; Derek Greene; Stefan Müller; Martijn Schoonvelde
. * Contact: james.cross@ucd.ie
. 
. ************************
. ***Script description***
. ************************
. 
. * This script sorts runs the analysis described in the pre-registration plan found here:
. * https://osf.io/78xcq/
. 
. ***Set seed
. set seed 169290015

. 
. ***Set colour scheme
. set scheme plotplainblind, perm
(set scheme preference recorded)

. 
. ***Set working directory
. cd "/Users/jamescross/Dropbox/GE2020/Images/Data/Data_Analysis"
/Users/jamescross/Dropbox/GE2020/Images/Data/Data_Analysis

. 
. ***Load data
. clear

. use "./data_analysis.dta"

. 
. *Encode variables
. rename dv_categories dv_categories_temp

. encode dv_categories_temp, gen(dv_categories)

. drop dv_categories_temp

. 
. rename campaign campaign_temp

. encode campaign_temp, gen(campaign)

. drop campaign_temp

. 
. rename gender gender_temp

. encode gender_temp, gen(gender)

. drop gender_temp

. 
. rename party party_temp

. encode party_temp, gen(party)

. drop party_temp

. 
. rename urban_rural urban_rural_temp

. encode urban_rural_temp, gen(urban_rural)

. drop urban_rural_temp

. 
. *Destring birth seniority year_clean election_year
. destring birth seniority year_clean election_year, replace
birth: all characters numeric; replaced as int
(62666 missing values generated)
seniority: all characters numeric; replaced as int
(55258 missing values generated)
year_clean: all characters numeric; replaced as int
(55258 missing values generated)
election_year: all characters numeric; replaced as int
(55258 missing values generated)

. 
. *Create age variable
. gen age = 2020 - birth
(62,666 missing values generated)

. 
. *Label variables
. label variable competitiveness "Competitiveness"

. label variable sum_running "Previous campaign experience"

. label variable gender "Gender"

. label variable campaign "Campaign"

. label variable time_until_election "Time until election"

. label variable party "Party"

. label variable urban_rural "Urban/Rural"

. label variable twitter_length "Twitter length"

. label variable followers_count "Followers count"

. label variable rolavg_ntweets_7 "Rolling average of no. of tweets (7 days)"

. label variable rolavg_retweets_7 "Rolling average of retweets (7 days)"

. label variable rolavg_likes_7 "Rolling average of likes (7 days)"

. label variable sum_likes_10_tweet "Sum of likes on previous 10 tweets"

. label variable sum_retweets_10_tweet "Sum of retweets on previous 10 tweets"

. label variable sum_electioneering_10_tweet "Sum of electioneering in previous 10 tweets"

. label variable mean_retweets_electioneering_10 "Mean retweets on electioneering (10 tweets)"

. label variable sum_policy_10_tweet "Sum of policy in previous 10 tweets"

. label variable mean_retweets_policy_10 "Mean retweets on policy (10 tweets)"

. label variable age "Age"

. label variable first_pref_share "First preference share"

. label variable district_magnitude_man "District magnitude"

. label variable candidates_running_const "Candidates running"

. label variable dv_categories "Campaign strategy choice"

. 
. *Clear saved models and figures
. graph drop _all

. est drop _all

. 
. ******************
. ***PAPER MODELS***
. ******************
. 
. ***Model 1 - Basic with interaction terms
. mlogit dv_categories c.competitiveness##ib2.campaign c.sum_running##ib2.campaign i.gender##ib2.campaign ///
>         c.time_until_election i.party c.district_magnitude_man c.candidates_running_const i.urban_rural c.twitter_length c.followers_count, ///
>         vce(cluster screen_name) rrr

Iteration 0:   log pseudolikelihood = -107646.03  
Iteration 1:   log pseudolikelihood = -100586.64  
Iteration 2:   log pseudolikelihood = -97964.698  
Iteration 3:   log pseudolikelihood = -97913.193  
Iteration 4:   log pseudolikelihood = -97913.069  
Iteration 5:   log pseudolikelihood = -97913.069  

Multinomial logistic regression                        Number of obs = 102,558
                                                       Wald chi2(63) = 3818.98
                                                       Prob > chi2   =  0.0000
Log pseudolikelihood = -97913.069                      Pseudo R2     =  0.0904

                                  (Std. err. adjusted for 312 clusters in screen_name_merge)
--------------------------------------------------------------------------------------------
                           |               Robust
             dv_categories |        RRR   std. err.      z    P>|z|     [95% conf. interval]
---------------------------+----------------------------------------------------------------
Both                       |
           competitiveness |   1.025871   .3109965     0.08   0.933     .5663022    1.858393
                           |
                  campaign |
          Campaign Period  |   5.197101   .9376146     9.14   0.000     3.649177     7.40163
                           |
campaign#c.competitiveness |
          Campaign Period  |   .7601955   .2404572    -0.87   0.386     .4089612    1.413086
                           |
               sum_running |   1.094511   .0638782     1.55   0.122     .9762073    1.227152
                           |
    campaign#c.sum_running |
          Campaign Period  |    1.07235   .0642233     1.17   0.243     .9535812     1.20591
                           |
                    gender |
                     Male  |   1.143832   .2039826     0.75   0.451     .8064273    1.622405
                           |
           gender#campaign |
     Male#Campaign Period  |   1.236848   .2652447     0.99   0.322     .8124078    1.883034
                           |
       time_until_election |   .9948374   .0006905    -7.46   0.000      .993485    .9961916
                           |
                     party |
              Fianna Fáil  |    .384834   .1111832    -3.31   0.001     .2184494    .6779474
                Fine Gael  |   .2153885   .0657374    -5.03   0.000     .1184221    .3917531
              Green Party  |   .7671947   .2472679    -0.82   0.411     .4079079    1.442943
                   Labour  |   .4711831   .1647047    -2.15   0.031     .2374912    .9348286
                Other/Ind  |   .5073805   .1724639    -2.00   0.046     .2606162    .9877932
                Sinn Féin  |   .5396978   .1776457    -1.87   0.061     .2831204    1.028798
         Social Democrats  |   .5374569    .207192    -1.61   0.107     .2524653    1.144157
           Solidarity-PBP  |   1.221981   .4688094     0.52   0.601     .5761074    2.591943
                           |
    district_magnitude_man |   .7149515   .0859064    -2.79   0.005     .5649354    .9048038
  candidates_running_const |   1.063174    .035326     1.84   0.065     .9961431    1.134716
                           |
               urban_rural |
                    Urban  |   1.072098   .1582354     0.47   0.637     .8027903    1.431749
            twitter_length |   .9998868   .0000695    -1.63   0.103     .9997505    1.000023
           followers_count |   1.000002   2.90e-06     0.70   0.483     .9999964    1.000008
                     _cons |   .2235415    .099626    -3.36   0.001      .093326     .535444
---------------------------+----------------------------------------------------------------
Electioneering             |
           competitiveness |   .9269733    .179103    -0.39   0.695     .6347523    1.353724
                           |
                  campaign |
          Campaign Period  |   3.088977   .4262191     8.17   0.000     2.357031    4.048219
                           |
campaign#c.competitiveness |
          Campaign Period  |   1.526317   .3602132     1.79   0.073     .9610806    2.423983
                           |
               sum_running |   1.056557   .0425771     1.37   0.172      .976318    1.143391
                           |
    campaign#c.sum_running |
          Campaign Period  |    1.01573   .0442361     0.36   0.720     .9326265     1.10624
                           |
                    gender |
                     Male  |   1.179945   .1268341     1.54   0.124     .9557954    1.456662
                           |
           gender#campaign |
     Male#Campaign Period  |   1.106149   .1783077     0.63   0.531     .8064969    1.517137
                           |
       time_until_election |   .9932172   .0004772   -14.17   0.000     .9922823    .9941529
                           |
                     party |
              Fianna Fáil  |   .9627838   .2058026    -0.18   0.859     .6332537    1.463794
                Fine Gael  |   .8264856   .1773605    -0.89   0.375     .5427138    1.258635
              Green Party  |   .8629403   .2061702    -0.62   0.537     .5402754    1.378308
                   Labour  |   .7959785   .2032797    -0.89   0.372     .4825236    1.313059
                Other/Ind  |   .7642956   .1711899    -1.20   0.230     .4927266    1.185542
                Sinn Féin  |    1.02018   .2362597     0.09   0.931     .6479634    1.606214
         Social Democrats  |   .7534566   .2224033    -0.96   0.338     .4224768    1.343735
           Solidarity-PBP  |   1.127536   .3407431     0.40   0.691     .6235859    2.038754
                           |
    district_magnitude_man |   .9367629   .0776762    -0.79   0.431     .7962476    1.102075
  candidates_running_const |    1.03201   .0214864     1.51   0.130     .9907449    1.074993
                           |
               urban_rural |
                    Urban  |    1.03782   .0967494     0.40   0.690     .8645094    1.245874
            twitter_length |   .9998466    .000045    -3.41   0.001     .9997585    .9999347
           followers_count |   .9999984   3.00e-06    -0.52   0.602     .9999926    1.000004
                     _cons |   .2145519   .0672489    -4.91   0.000     .1160734    .3965812
---------------------------+----------------------------------------------------------------
Neither                    |  (base outcome)
---------------------------+----------------------------------------------------------------
Policy                     |
           competitiveness |   1.243393   .2876908     0.94   0.346     .7900619    1.956842
                           |
                  campaign |
          Campaign Period  |   .7415882   .1018063    -2.18   0.029     .5666417     .970548
                           |
campaign#c.competitiveness |
          Campaign Period  |   .9794065   .2032038    -0.10   0.920     .6521668    1.470846
                           |
               sum_running |   1.189138   .0406911     5.06   0.000     1.112001    1.271627
                           |
    campaign#c.sum_running |
          Campaign Period  |    .976441   .0352659    -0.66   0.509     .9097109    1.048066
                           |
                    gender |
                     Male  |   .9476241   .1223751    -0.42   0.677     .7357206     1.22056
                           |
           gender#campaign |
     Male#Campaign Period  |   1.455196   .2157424     2.53   0.011     1.088242    1.945888
                           |
       time_until_election |   1.000766   .0004286     1.79   0.074     .9999266    1.001607
                           |
                     party |
              Fianna Fáil  |   .4627561    .080489    -4.43   0.000     .3290783    .6507364
                Fine Gael  |   .3828789   .0566221    -6.49   0.000     .2865374    .5116129
              Green Party  |   .7859172   .1555635    -1.22   0.224     .5332011    1.158411
                   Labour  |   .4033062   .0869461    -4.21   0.000       .26432    .6153749
                Other/Ind  |   .5897682   .1379264    -2.26   0.024     .3729192    .9327129
                Sinn Féin  |   .4770142   .1195039    -2.95   0.003     .2919336    .7794324
         Social Democrats  |   .6848374   .1351886    -1.92   0.055     .4651127    1.008363
           Solidarity-PBP  |   1.075959   .2481044     0.32   0.751     .6847278    1.690727
                           |
    district_magnitude_man |   .8878003   .0842658    -1.25   0.210     .7370946    1.069319
  candidates_running_const |   1.014435    .029908     0.49   0.627     .9574779     1.07478
                           |
               urban_rural |
                    Urban  |   1.116936   .1325226     0.93   0.351     .8851865     1.40936
            twitter_length |   .9999032   .0000559    -1.73   0.083     .9997935    1.000013
           followers_count |   1.000003   1.40e-06     2.24   0.025            1    1.000006
                     _cons |   1.110457   .3263919     0.36   0.721     .6241828    1.975567
--------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.

. 
. *Table 2
. esttab using "../../Output/Tables/tab_02.tex", ///
>         order(competitiveness sum_running gender campaign) ///
>         label mlabels(none) collabels(none) wide nobaselevels unstack eform noomitted fragment replace
(output written to ../../Output/Tables/tab_02.tex)

.         
. *Figure 8 for Model 1 with campaign period
. coefplot (., keep(Electioneering:)) (., keep(Policy:)) (., keep(Both:)), bylabel(Both) ///
>         ||, drop(_cons *.party followers_count twitter_length rolavg_ntweets_7 followers_count ///
>                 time_until_election party district_magnitude_man candidates_running_const urban_rural) ///
>                 xline(1) eform  xtitle(Relative risk ratios) name(c1, replace)

. graph export  ../../Output/Figures/fig_08.pdf, name(c1) replace
file /Users/jamescross/Dropbox/GE2020/Images/Data/Data_Analysis/../../Output/Figures/fig_08.pdf saved as PDF format

. 
. ***Model 2 - campaign dynamics
. mlogit dv_categories c.competitiveness c.sum_running i.gender ib2.campaign ///
>         c.time_until_election i.party c.district_magnitude_man c.candidates_running_const i.urban_rural c.twitter_length c.followers_count ///
>         c.rolavg_ntweets_7 c.rolavg_retweets_7 c.sum_likes_10_tweet c.sum_retweets_10_tweet ///
>         c.sum_electioneering_10_tweet c.mean_retweets_electioneering_10 c.sum_policy_10_tweet c.mean_retweets_policy_10, ///
>         vce(cluster screen_name) rrr

Iteration 0:   log pseudolikelihood = -99800.939  
Iteration 1:   log pseudolikelihood = -88865.953  
Iteration 2:   log pseudolikelihood = -86548.161  
Iteration 3:   log pseudolikelihood = -86441.682  
Iteration 4:   log pseudolikelihood = -86441.357  
Iteration 5:   log pseudolikelihood = -86441.357  

Multinomial logistic regression                       Number of obs =   94,902
                                                      Wald chi2(78) = 13551.98
                                                      Prob > chi2   =   0.0000
Log pseudolikelihood = -86441.357                     Pseudo R2     =   0.1339

                                       (Std. err. adjusted for 245 clusters in screen_name_merge)
-------------------------------------------------------------------------------------------------
                                |               Robust
                  dv_categories |        RRR   std. err.      z    P>|z|     [95% conf. interval]
--------------------------------+----------------------------------------------------------------
Both                            |
                competitiveness |   .8078195   .1200678    -1.44   0.151     .6036686    1.081011
                    sum_running |   1.058993   .0266066     2.28   0.023     1.008108    1.112446
                                |
                         gender |
                          Male  |   1.083829   .0847862     1.03   0.303     .9297638    1.263423
                                |
                       campaign |
               Campaign Period  |   3.068087   .2651093    12.97   0.000       2.5901    3.634284
                                |
            time_until_election |   .9953079   .0005663    -8.27   0.000     .9941986    .9964185
                                |
                          party |
                   Fianna Fáil  |   .5055955   .0932398    -3.70   0.000     .3522315    .7257352
                     Fine Gael  |   .3368321   .0665905    -5.50   0.000     .2286305    .4962413
                   Green Party  |   .7731519   .1477854    -1.35   0.178       .53157    1.124525
                        Labour  |   .6104261   .1308396    -2.30   0.021     .4010379    .9291393
                     Other/Ind  |    .581987    .119838    -2.63   0.009     .3887235    .8713363
                     Sinn Féin  |   .6869472   .1314743    -1.96   0.050     .4720767    .9996181
              Social Democrats  |   .6711229   .1374576    -1.95   0.052     .4492223    1.002635
                Solidarity-PBP  |   1.146321   .2218788     0.71   0.480      .784422    1.675184
                                |
         district_magnitude_man |   .8600814   .0567651    -2.28   0.022     .7557194    .9788554
       candidates_running_const |   1.020296   .0184131     1.11   0.266      .984838    1.057031
                                |
                    urban_rural |
                         Urban  |   1.038878   .0747319     0.53   0.596     .9022629    1.196178
                 twitter_length |   .9999525   .0000328    -1.45   0.148     .9998881    1.000017
                followers_count |   1.000001   1.57e-06     0.80   0.422     .9999982    1.000004
               rolavg_ntweets_7 |   .9770341   .0050106    -4.53   0.000     .9672627    .9869043
              rolavg_retweets_7 |   1.004507   .0017293     2.61   0.009     1.001124    1.007903
             sum_likes_10_tweet |   1.000009   .0000985     0.09   0.924     .9998164    1.000202
          sum_retweets_10_tweet |   .9996808    .000442    -0.72   0.470     .9988148    1.000547
    sum_electioneering_10_tweet |   1.338149    .018229    21.38   0.000     1.302894    1.374359
mean_retweets_electioneering_10 |   .9982983   .0020024    -0.85   0.396     .9943814    1.002231
            sum_policy_10_tweet |   1.255588    .014592    19.58   0.000     1.227312    1.284516
        mean_retweets_policy_10 |   .9993865   .0013547    -0.45   0.651     .9967349    1.002045
                          _cons |   .0563129   .0149946   -10.80   0.000     .0334161    .0948986
--------------------------------+----------------------------------------------------------------
Electioneering                  |
                competitiveness |   1.079722   .1134273     0.73   0.465     .8788022    1.326577
                    sum_running |   1.047429   .0219407     2.21   0.027     1.005297    1.091327
                                |
                         gender |
                          Male  |   1.075436   .0620684     1.26   0.208     .9604124    1.204235
                                |
                       campaign |
               Campaign Period  |   2.097252   .1345735    11.54   0.000     1.849405    2.378315
                                |
            time_until_election |    .994298   .0003863   -14.72   0.000     .9935411    .9950554
                                |
                          party |
                   Fianna Fáil  |   .9806448   .1281723    -0.15   0.881     .7590282    1.266968
                     Fine Gael  |   .8994278   .1177767    -0.81   0.418     .6958324    1.162594
                   Green Party  |   .9645685   .1266031    -0.27   0.783     .7457784    1.247545
                        Labour  |    .875351   .1296819    -0.90   0.369     .6547538    1.170271
                     Other/Ind  |   .8565846   .1170892    -1.13   0.257     .6552648    1.119757
                     Sinn Féin  |   1.113083   .1429821     0.83   0.404     .8653378    1.431757
              Social Democrats  |    .955849   .1404699    -0.31   0.759     .7166353    1.274913
                Solidarity-PBP  |   1.358446   .1917185     2.17   0.030     1.030176    1.791319
                                |
         district_magnitude_man |   .9753085   .0527723    -0.46   0.644     .8771723    1.084424
       candidates_running_const |   1.002579   .0128808     0.20   0.841      .977648    1.028145
                                |
                    urban_rural |
                         Urban  |     1.0482   .0566388     0.87   0.384     .9428661    1.165301
                 twitter_length |   .9999136   .0000245    -3.52   0.000     .9998656    .9999617
                followers_count |   1.000001   1.11e-06     0.81   0.419     .9999987    1.000003
               rolavg_ntweets_7 |   .9701419   .0045265    -6.50   0.000     .9613105    .9790545
              rolavg_retweets_7 |   1.002098   .0014531     1.45   0.148     .9992543     1.00495
             sum_likes_10_tweet |   .9999074   .0000817    -1.13   0.257     .9997473    1.000067
          sum_retweets_10_tweet |   1.000139   .0003429     0.40   0.686     .9994666    1.000811
    sum_electioneering_10_tweet |   1.321751     .01428    25.82   0.000     1.294057    1.350037
mean_retweets_electioneering_10 |   .9963324    .001515    -2.42   0.016     .9933675    .9993061
            sum_policy_10_tweet |   1.035522   .0096463     3.75   0.000     1.016788    1.054603
        mean_retweets_policy_10 |   .9999456   .0013069    -0.04   0.967     .9973875     1.00251
                          _cons |   .1489516    .029939    -9.47   0.000     .1004512    .2208691
--------------------------------+----------------------------------------------------------------
Neither                         |  (base outcome)
--------------------------------+----------------------------------------------------------------
Policy                          |
                competitiveness |   1.113084   .1288788     0.93   0.355     .8870975    1.396641
                    sum_running |    1.08685   .0189173     4.78   0.000     1.050398    1.124567
                                |
                         gender |
                          Male  |   .9991594   .0605598    -0.01   0.989     .8872435    1.125192
                                |
                       campaign |
               Campaign Period  |     .99493   .0460566    -0.11   0.913     .9086346    1.089421
                                |
            time_until_election |   1.000791   .0001801     4.39   0.000     1.000438    1.001144
                                |
                          party |
                   Fianna Fáil  |   .7979291   .0689696    -2.61   0.009     .6735813    .9452324
                     Fine Gael  |   .6879287    .056384    -4.56   0.000     .5858376    .8078106
                   Green Party  |   .9750628   .0889212    -0.28   0.782     .8154681    1.165892
                        Labour  |   .7089613   .0837076    -2.91   0.004     .5624975    .8935616
                     Other/Ind  |   .8149555   .0985308    -1.69   0.091     .6430146    1.032873
                     Sinn Féin  |   .7364572   .0921418    -2.44   0.014     .5763011    .9411212
              Social Democrats  |   .9187648   .0888065    -0.88   0.381      .760201    1.110402
                Solidarity-PBP  |   1.294678   .1304718     2.56   0.010     1.062629      1.5774
                                |
         district_magnitude_man |   .9021082   .0458179    -2.03   0.043     .8166318    .9965313
       candidates_running_const |    1.00706   .0158428     0.45   0.655     .9764826    1.038595
                                |
                    urban_rural |
                         Urban  |    1.04763   .0639567     0.76   0.446     .9294866    1.180791
                 twitter_length |   .9999697   .0000237    -1.28   0.200     .9999233    1.000016
                followers_count |   1.000001   9.43e-07     1.11   0.267     .9999992    1.000003
               rolavg_ntweets_7 |   .9856202   .0040918    -3.49   0.000     .9776329    .9936728
              rolavg_retweets_7 |   1.001516    .000557     2.72   0.006     1.000425    1.002608
             sum_likes_10_tweet |   .9999676   .0000293    -1.11   0.269     .9999103    1.000025
          sum_retweets_10_tweet |   1.000042   .0001415     0.30   0.764     .9997651     1.00032
    sum_electioneering_10_tweet |    1.03464   .0095971     3.67   0.000        1.016    1.053622
mean_retweets_electioneering_10 |   1.001668   .0006492     2.57   0.010     1.000396    1.002941
            sum_policy_10_tweet |   1.285792   .0130068    24.85   0.000     1.260551     1.31154
        mean_retweets_policy_10 |   1.000581   .0006084     0.96   0.339     .9993895    1.001774
                          _cons |   .3077697   .0461319    -7.86   0.000     .2294237      .41287
-------------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.

. 
. *Table 3
. esttab using "../../Output/Tables/tab_03.tex", ///
>         order(competitiveness sum_running gender campaign) ///
>         label mlabels(none) collabels(none) wide nobaselevels unstack eform noomitted fragment replace
(output written to ../../Output/Tables/tab_03.tex)

.         
. *Figure 9 for model 2
. coefplot (., keep(Electioneering:)) (., keep(Policy:)) (., keep(Both:)), bylabel(Both) ///
>         ||, drop(_cons *.campaign *.party followers_count twitter_length rolavg_ntweets_7 followers_count ///
>                 sum_likes_10_tweet sum_retweets_10_tweet rolavg_retweets_7 rolavg_likes_7 ) ///
>                 xline(1) eform  xtitle(Relative risk ratios) name(c2, replace)

. graph export  ../../Output/Figures/fig_09.pdf, name(c2) replace
file /Users/jamescross/Dropbox/GE2020/Images/Data/Data_Analysis/../../Output/Figures/fig_09.pdf saved as PDF format

. 
. *********************************************
. ***Appendix 4 - Alternative specifications***
. *********************************************
. 
. ***Model A1 - Pre-registered regression
. mlogit dv_categories c.competitiveness i.campaign c.sum_running i.gender c.time_until_election i.party ///
>         c.district_magnitude_man c.candidates_running_const i.urban_rural c.twitter_length c.followers_count ///
>         c.rolavg_ntweets_7 c.sum_likes_10_tweet c.sum_retweets_10_tweet c.rolavg_retweets_7, ///
>         vce(cluster screen_name) rrr

Iteration 0:   log pseudolikelihood = -107011.96  
Iteration 1:   log pseudolikelihood = -98957.666  
Iteration 2:   log pseudolikelihood = -96969.021  
Iteration 3:   log pseudolikelihood = -96944.327  
Iteration 4:   log pseudolikelihood = -96944.246  
Iteration 5:   log pseudolikelihood = -96944.246  

Multinomial logistic regression                        Number of obs = 101,864
                                                       Wald chi2(66) = 4227.57
                                                       Prob > chi2   =  0.0000
Log pseudolikelihood = -96944.246                      Pseudo R2     =  0.0941

                                (Std. err. adjusted for 311 clusters in screen_name_merge)
------------------------------------------------------------------------------------------
                         |               Robust
           dv_categories |        RRR   std. err.      z    P>|z|     [95% conf. interval]
-------------------------+----------------------------------------------------------------
Both                     |
         competitiveness |    .720135   .1845815    -1.28   0.200     .4357507    1.190117
                         |
                campaign |
    Non-Campaign Period  |   .1691674   .0193156   -15.56   0.000     .1352465    .2115959
             sum_running |   1.133426   .0481203     2.95   0.003     1.042929    1.231775
                         |
                  gender |
                   Male  |   1.187849   .1654828     1.24   0.217     .9040199    1.560791
     time_until_election |   .9942265    .000641    -8.98   0.000      .992971    .9954837
                         |
                   party |
            Fianna Fáil  |   .4480261   .1276139    -2.82   0.005     .2563602    .7829898
              Fine Gael  |   .2623571    .079322    -4.43   0.000     .1450566     .474513
            Green Party  |   .9075592    .278257    -0.32   0.752     .4976192    1.655209
                 Labour  |   .5374106   .1834259    -1.82   0.069     .2752827     1.04914
              Other/Ind  |   .5990244   .2070464    -1.48   0.138     .3042536    1.179379
              Sinn Féin  |    .600253   .1886604    -1.62   0.104     .3241906    1.111395
       Social Democrats  |   .6941976   .2372121    -1.07   0.285     .3553217    1.356265
         Solidarity-PBP  |   1.960174   .6273033     2.10   0.035     1.046862    3.670285
                         |
  district_magnitude_man |   .7259337    .085427    -2.72   0.006     .5764062    .9142507
candidates_running_const |   1.044448   .0336254     1.35   0.177     .9805802    1.112477
                         |
             urban_rural |
                  Urban  |   1.024089    .139036     0.18   0.861     .7848266    1.336292
          twitter_length |   .9999195   .0000621    -1.30   0.195     .9997978    1.000041
         followers_count |   1.000003   3.04e-06     1.11   0.265     .9999974    1.000009
        rolavg_ntweets_7 |   .9634791   .0102385    -3.50   0.000     .9436195    .9837566
      sum_likes_10_tweet |   .9996785   .0001536    -2.09   0.036     .9993776    .9999796
   sum_retweets_10_tweet |   1.001304   .0006333     2.06   0.039     1.000064    1.002546
       rolavg_retweets_7 |   1.005603   .0031323     1.79   0.073     .9994825    1.011761
                   _cons |   1.652987   .6788949     1.22   0.221     .7390508     3.69713
-------------------------+----------------------------------------------------------------
Electioneering           |
         competitiveness |   1.021819   .1737759     0.13   0.899     .7321736    1.426047
                         |
                campaign |
    Non-Campaign Period  |   .2379396   .0185792   -18.39   0.000     .2041746    .2772884
             sum_running |   1.057908    .030913     1.93   0.054     .9990216    1.120265
                         |
                  gender |
                   Male  |   1.152611   .1016718     1.61   0.107     .9696127    1.370147
     time_until_election |   .9924992   .0004513   -16.56   0.000     .9916149    .9933842
                         |
                   party |
            Fianna Fáil  |   1.086101   .2379606     0.38   0.706      .706928     1.66865
              Fine Gael  |   .9683545   .2161022    -0.14   0.885     .6252829    1.499658
            Green Party  |   1.003492   .2316654     0.02   0.988     .6382726     1.57769
                 Labour  |   .9100102   .2277404    -0.38   0.706     .5572157    1.486172
              Other/Ind  |   .9023284   .2123873    -0.44   0.662     .5688679    1.431258
              Sinn Féin  |   1.178456   .2681713     0.72   0.471     .7544191    1.840832
       Social Democrats  |   .9871942   .2523054    -0.05   0.960     .5982104    1.629113
         Solidarity-PBP  |   1.901055   .4660872     2.62   0.009     1.175718    3.073875
                         |
  district_magnitude_man |   .9403746   .0769526    -0.75   0.452     .8010239    1.103968
candidates_running_const |   1.011849   .0196991     0.61   0.545     .9739668    1.051205
                         |
             urban_rural |
                  Urban  |    1.02461   .0861298     0.29   0.772     .8689719    1.208124
          twitter_length |    .999877   .0000387    -3.18   0.001     .9998012    .9999529
         followers_count |          1   2.00e-06     0.04   0.965     .9999962    1.000004
        rolavg_ntweets_7 |   .9564961    .006874    -6.19   0.000     .9431177    .9700643
      sum_likes_10_tweet |   .9998702   .0000832    -1.56   0.119     .9997071    1.000033
   sum_retweets_10_tweet |   1.000408   .0003947     1.03   0.301     .9996344    1.001182
       rolavg_retweets_7 |   1.002148   .0022935     0.94   0.348     .9976633    1.006654
                   _cons |   1.125659   .3602146     0.37   0.711     .6012004    2.107629
-------------------------+----------------------------------------------------------------
Neither                  |  (base outcome)
-------------------------+----------------------------------------------------------------
Policy                   |
         competitiveness |   1.124258   .2398038     0.55   0.583     .7401247     1.70776
                         |
                campaign |
    Non-Campaign Period  |   1.078945   .0946555     0.87   0.386      .908497    1.281371
             sum_running |    1.17757   .0386092     4.99   0.000     1.104278    1.255727
                         |
                  gender |
                   Male  |   .9982856   .1175033    -0.01   0.988     .7926182    1.257319
     time_until_election |   1.000641   .0003983     1.61   0.108     .9998602    1.001422
                         |
                   party |
            Fianna Fáil  |   .5094362   .0866809    -3.96   0.000     .3649702    .7110862
              Fine Gael  |   .4279544   .0624762    -5.81   0.000     .3214639    .5697216
            Green Party  |    .870072   .1539151    -0.79   0.431     .6151461    1.230643
                 Labour  |   .4462417    .094772    -3.80   0.000     .2943022     .676623
              Other/Ind  |   .6384002   .1489918    -1.92   0.054     .4040517     1.00867
              Sinn Féin  |   .4952897   .1159472    -3.00   0.003     .3130352    .7836559
       Social Democrats  |   .7490201   .1376364    -1.57   0.116     .5224932    1.073758
         Solidarity-PBP  |   1.362737   .2669825     1.58   0.114     .9282131    2.000674
                         |
  district_magnitude_man |   .8849281   .0823974    -1.31   0.189     .7373114    1.062099
candidates_running_const |   1.007779   .0289896     0.27   0.788     .9525324     1.06623
                         |
             urban_rural |
                  Urban  |   1.123393   .1280264     1.02   0.307     .8985146    1.404553
          twitter_length |   .9999139   .0000524    -1.64   0.101     .9998111    1.000017
         followers_count |   1.000004   1.75e-06     2.02   0.044            1    1.000007
        rolavg_ntweets_7 |   .9790224   .0078105    -2.66   0.008     .9638331    .9944511
      sum_likes_10_tweet |   .9997569   .0000926    -2.62   0.009     .9995754    .9999384
   sum_retweets_10_tweet |   1.001179   .0004647     2.54   0.011     1.000269     1.00209
       rolavg_retweets_7 |   1.003728   .0026321     1.42   0.156     .9985823      1.0089
                   _cons |   1.138867   .3187929     0.46   0.642     .6579666    1.971253
------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.

. *estimates store m1_CSE_appendix
. 
. *Table A6 for Model A1
. esttab using "../../Output/Tables/tab_a06.tex", ///
>         order(competitiveness sum_running gender campaign) ///
>         label mlabels(none) collabels(none) wide nobaselevels unstack eform noomitted fragment replace
(output written to ../../Output/Tables/tab_a06.tex)

. 
. 
. *Model A2 - without clustered SEs
. mlogit dv_categories c.competitiveness##ib2.campaign c.sum_running##ib2.campaign i.gender##ib2.campaign ///
>         c.time_until_election i.party c.district_magnitude_man c.candidates_running_const i.urban_rural ///
>         c.twitter_length c.followers_count c.rolavg_ntweets_7 c.rolavg_retweets_7 c.sum_likes_10_tweet ///
>         c.sum_retweets_10_tweet, rrr

Iteration 0:   log likelihood = -107011.96  
Iteration 1:   log likelihood = -99549.196  
Iteration 2:   log likelihood = -96942.043  
Iteration 3:   log likelihood = -96887.099  
Iteration 4:   log likelihood = -96886.947  
Iteration 5:   log likelihood = -96886.947  

Multinomial logistic regression                       Number of obs =  101,864
                                                      LR chi2(75)   = 20250.03
                                                      Prob > chi2   =   0.0000
Log likelihood = -96886.947                           Pseudo R2     =   0.0946

--------------------------------------------------------------------------------------------
             dv_categories |        RRR   Std. err.      z    P>|z|     [95% conf. interval]
---------------------------+----------------------------------------------------------------
Both                       |
           competitiveness |   .9401216   .0886147    -0.66   0.512     .7815393    1.130882
                           |
                  campaign |
          Campaign Period  |   5.779555   .4397466    23.06   0.000     4.978854    6.709025
                           |
campaign#c.competitiveness |
          Campaign Period  |   .6597993   .0758303    -3.62   0.000     .5267248    .8264945
                           |
               sum_running |   1.078695   .0197942     4.13   0.000     1.040589    1.118197
                           |
    campaign#c.sum_running |
          Campaign Period  |   1.076396   .0243439     3.26   0.001     1.029725    1.125182
                           |
                    gender |
                     Male  |   1.127073   .0675628     2.00   0.046     1.002136    1.267587
                           |
           gender#campaign |
     Male#Campaign Period  |   1.170825    .085415     2.16   0.031     1.014832    1.350795
                           |
       time_until_election |    .994147   .0004491   -12.99   0.000     .9932672    .9950276
                           |
                     party |
              Fianna Fáil  |   .4463296   .0547093    -6.58   0.000     .3510095    .5675349
                Fine Gael  |   .2606521   .0322447   -10.87   0.000     .2045319    .3321707
              Green Party  |   .9000731   .1078389    -0.88   0.380     .7116955    1.138312
                   Labour  |   .5384932   .0679287    -4.91   0.000     .4205374    .6895342
                Other/Ind  |    .593966   .0724888    -4.27   0.000     .4676051    .7544733
                Sinn Féin  |    .599538   .0743814    -4.12   0.000     .4701244    .7645759
         Social Democrats  |   .6939831   .0861655    -2.94   0.003     .5440804    .8851863
           Solidarity-PBP  |   1.941854    .247962     5.20   0.000     1.511903    2.494075
                           |
    district_magnitude_man |   .7266376   .0221859   -10.46   0.000     .6844296    .7714485
  candidates_running_const |   1.044321   .0084408     5.37   0.000     1.027908    1.060996
                           |
               urban_rural |
                    Urban  |   1.020891    .034414     0.61   0.540      .955621    1.090619
            twitter_length |   .9999198   .0000154    -5.21   0.000     .9998897      .99995
           followers_count |   1.000003   1.31e-06     2.54   0.011     1.000001    1.000006
          rolavg_ntweets_7 |   .9638429   .0026437   -13.43   0.000     .9586754    .9690383
         rolavg_retweets_7 |   1.005594   .0014337     3.91   0.000     1.002787    1.008407
        sum_likes_10_tweet |   .9996919   .0000605    -5.09   0.000     .9995733    .9998105
     sum_retweets_10_tweet |   1.001251   .0002626     4.77   0.000     1.000737    1.001766
                     _cons |    .275909   .0432831    -8.21   0.000     .2028775    .3752301
---------------------------+----------------------------------------------------------------
Electioneering             |
           competitiveness |   .8476678   .0532831    -2.63   0.009     .7494116    .9588064
                           |
                  campaign |
          Campaign Period  |   3.460448   .1918823    22.39   0.000     3.104081    3.857727
                           |
campaign#c.competitiveness |
          Campaign Period  |   1.353799   .1114302     3.68   0.000     1.152106    1.590802
                           |
               sum_running |   1.047135    .012644     3.81   0.000     1.022644    1.072212
                           |
    campaign#c.sum_running |
          Campaign Period  |   1.015546   .0169155     0.93   0.354     .9829274    1.049247
                           |
                    gender |
                     Male  |    1.17247   .0467801     3.99   0.000     1.084276    1.267838
                           |
           gender#campaign |
     Male#Campaign Period  |   1.055558   .0556681     1.03   0.305     .9519001    1.170504
                           |
       time_until_election |   .9926196   .0003047   -24.13   0.000     .9920225     .993217
                           |
                     party |
              Fianna Fáil  |   1.077846   .1233579     0.66   0.512      .861267    1.348886
                Fine Gael  |   .9650888   .1097499    -0.31   0.755      .772269    1.206052
              Green Party  |   .9989652    .115296    -0.01   0.993     .7967251    1.252542
                   Labour  |   .9112917   .1076745    -0.79   0.432     .7229078    1.148767
                Other/Ind  |   .8917064   .1032334    -0.99   0.322     .7106861    1.118835
                Sinn Féin  |   1.176663   .1367331     1.40   0.162     .9369988    1.477629
         Social Democrats  |   .9929385     .11731    -0.06   0.952     .7876943    1.251662
           Solidarity-PBP  |   1.894198   .2325146     5.20   0.000     1.489154    2.409412
                           |
    district_magnitude_man |   .9405706   .0207839    -2.77   0.006     .9007044    .9822012
  candidates_running_const |   1.012911   .0061942     2.10   0.036     1.000843    1.025124
                           |
               urban_rural |
                    Urban  |   1.019036   .0254837     0.75   0.451     .9702933    1.070228
            twitter_length |   .9998715   .0000118   -10.85   0.000     .9998483    .9998947
           followers_count |          1   9.54e-07     0.18   0.858     .9999983    1.000002
          rolavg_ntweets_7 |   .9577023   .0023287   -17.77   0.000     .9531491    .9622773
         rolavg_retweets_7 |   1.001933    .001646     1.18   0.240     .9987123    1.005164
        sum_likes_10_tweet |   .9998629   .0000463    -2.96   0.003     .9997721    .9999537
     sum_retweets_10_tweet |   1.000443   .0002514     1.76   0.078     .9999504    1.000936
                     _cons |    .292635   .0397152    -9.05   0.000     .2242873    .3818105
---------------------------+----------------------------------------------------------------
Neither                    |  (base outcome)
---------------------------+----------------------------------------------------------------
Policy                     |
           competitiveness |   1.144704   .0333624     4.64   0.000     1.081147    1.211997
                           |
                  campaign |
          Campaign Period  |   .8105708   .0336367    -5.06   0.000     .7472538    .8792529
                           |
campaign#c.competitiveness |
          Campaign Period  |   .9069039   .0621119    -1.43   0.154     .7929838     1.03719
                           |
               sum_running |   1.182095   .0061976    31.91   0.000      1.17001    1.194305
                           |
    campaign#c.sum_running |
          Campaign Period  |   .9788762   .0130575    -1.60   0.109     .9536156    1.004806
                           |
                    gender |
                     Male  |   .9452817   .0174901    -3.04   0.002     .9116158    .9801908
                           |
           gender#campaign |
     Male#Campaign Period  |   1.393763   .0600173     7.71   0.000     1.280959    1.516502
                           |
       time_until_election |   1.000659   .0001263     5.22   0.000     1.000412    1.000907
                           |
                     party |
              Fianna Fáil  |   .5073687   .0303699   -11.34   0.000     .4512037    .5705249
                Fine Gael  |   .4265422   .0252433   -14.40   0.000     .3798279    .4790017
              Green Party  |   .8665225   .0522548    -2.38   0.018      .769926    .9752382
                   Labour  |    .442308    .027906   -12.93   0.000     .3908597    .5005283
                Other/Ind  |   .6317814   .0385884    -7.52   0.000     .5605013    .7121265
                Sinn Féin  |   .4939392   .0305747   -11.39   0.000     .4375063    .5576512
         Social Democrats  |   .7550187   .0482961    -4.39   0.000     .6660535    .8558671
           Solidarity-PBP  |   1.361282   .0915374     4.59   0.000     1.193192    1.553051
                           |
    district_magnitude_man |   .8844282   .0125524    -8.65   0.000      .860165    .9093758
  candidates_running_const |   1.007709    .003875     2.00   0.046     1.000143    1.015333
                           |
               urban_rural |
                    Urban  |   1.120048   .0172061     7.38   0.000     1.086827    1.154284
            twitter_length |   .9999148   7.89e-06   -10.80   0.000     .9998993    .9999302
           followers_count |   1.000003   5.28e-07     6.59   0.000     1.000002    1.000005
          rolavg_ntweets_7 |      .9797   .0015723   -12.78   0.000     .9766233    .9827865
         rolavg_retweets_7 |    1.00373    .000793     4.71   0.000     1.002176    1.005285
        sum_likes_10_tweet |   .9997597   .0000263    -9.13   0.000     .9997082    .9998113
     sum_retweets_10_tweet |   1.001169   .0001281     9.13   0.000     1.000918     1.00142
                     _cons |   1.253666   .0923302     3.07   0.002     1.085157    1.448343
--------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.

. 
. *Table A7 for Model A2
. esttab using "../../Output/Tables/tab_a07.tex", ///
>         order(competitiveness sum_running gender campaign) ///
>         label mlabels(none) collabels(none) wide nobaselevels unstack eform noomitted fragment replace
(output written to ../../Output/Tables/tab_a07.tex)

.         
. 
. *Model A3 - First preference vote in previous election as competitiveness alternative
. mlogit dv_categories c.first_pref_share##ib2.campaign c.sum_running##ib2.campaign i.gender##ib2.campaign ///
>         c.time_until_election i.party c.district_magnitude_man c.candidates_running_const i.urban_rural ///
>         c.twitter_length c.followers_count c.rolavg_ntweets_7 c.rolavg_retweets_7 c.sum_likes_10_tweet ///
>         c.sum_retweets_10_tweet, vce(cluster screen_name) rrr

Iteration 0:   log pseudolikelihood = -109701.35  
Iteration 1:   log pseudolikelihood = -102009.22  
Iteration 2:   log pseudolikelihood = -99610.152  
Iteration 3:   log pseudolikelihood = -99566.607  
Iteration 4:   log pseudolikelihood = -99566.509  
Iteration 5:   log pseudolikelihood = -99566.509  

Multinomial logistic regression                        Number of obs = 104,420
                                                       Wald chi2(75) = 4295.22
                                                       Prob > chi2   =  0.0000
Log pseudolikelihood = -99566.509                      Pseudo R2     =  0.0924

                                   (Std. err. adjusted for 316 clusters in screen_name_merge)
---------------------------------------------------------------------------------------------
                            |               Robust
              dv_categories |        RRR   std. err.      z    P>|z|     [95% conf. interval]
----------------------------+----------------------------------------------------------------
Both                        |
           first_pref_share |   1.002426   .0156086     0.16   0.876     .9722956     1.03349
                            |
                   campaign |
           Campaign Period  |   6.081605   1.113909     9.86   0.000     4.247289    8.708124
                            |
campaign#c.first_pref_share |
           Campaign Period  |   .9701805    .012575    -2.34   0.020     .9458443    .9951428
                            |
                sum_running |   1.066811   .0608735     1.13   0.257     .9539314    1.193049
                            |
     campaign#c.sum_running |
           Campaign Period  |   1.092037   .0642718     1.50   0.135     .9730608    1.225561
                            |
                     gender |
                      Male  |   1.114799   .1802715     0.67   0.502     .8119898    1.530531
                            |
            gender#campaign |
      Male#Campaign Period  |   1.129616   .2200872     0.63   0.532       .77106    1.654907
                            |
        time_until_election |   .9939685   .0006335    -9.49   0.000     .9927277    .9952109
                            |
                      party |
               Fianna Fáil  |    .402248   .1180697    -3.10   0.002     .2262795    .7150601
                 Fine Gael  |   .2472312   .0772097    -4.47   0.000     .1340526    .4559649
               Green Party  |   .8493365   .2741036    -0.51   0.613     .4512054    1.598767
                    Labour  |   .4971963   .1790239    -1.94   0.052     .2454926    1.006972
                 Other/Ind  |   .5809372   .2047514    -1.54   0.123     .2911542    1.159139
                 Sinn Féin  |   .6412754   .2492441    -1.14   0.253     .2993702    1.373664
          Social Democrats  |   .6390243   .2305446    -1.24   0.215     .3150826    1.296016
            Solidarity-PBP  |    1.35747   .4951065     0.84   0.402     .6641618    2.774513
                            |
     district_magnitude_man |    .762704   .0927006    -2.23   0.026     .6010344    .9678605
   candidates_running_const |   1.035754    .033311     1.09   0.275     .9724809    1.103144
                            |
                urban_rural |
                     Urban  |   1.092466    .148818     0.65   0.516     .8364799    1.426791
             twitter_length |   .9999113   .0000645    -1.38   0.169      .999785    1.000038
            followers_count |   1.000003   3.25e-06     0.84   0.403     .9999964    1.000009
           rolavg_ntweets_7 |   .9690989   .0105789    -2.88   0.004      .948585    .9900565
          rolavg_retweets_7 |   1.005931   .0030721     1.94   0.053     .9999275     1.01197
         sum_likes_10_tweet |   .9997092   .0001545    -1.88   0.060     .9994064    1.000012
      sum_retweets_10_tweet |   1.001227   .0006553     1.87   0.061     .9999434    1.002512
                      _cons |   .2598946   .1255924    -2.79   0.005     .1007998    .6700926
----------------------------+----------------------------------------------------------------
Electioneering              |
           first_pref_share |   1.013209   .0113456     1.17   0.241     .9912141    1.035691
                            |
                   campaign |
           Campaign Period  |   3.736106   .5034606     9.78   0.000     2.868898    4.865452
                            |
campaign#c.first_pref_share |
           Campaign Period  |   .9962769   .0103076    -0.36   0.718     .9762778    1.016686
                            |
                sum_running |   1.018579   .0424391     0.44   0.659     .9387057    1.105249
                            |
     campaign#c.sum_running |
           Campaign Period  |   1.049465   .0453638     1.12   0.264     .9642161    1.142252
                            |
                     gender |
                      Male  |   1.098032   .1133575     0.91   0.365     .8968908    1.344282
                            |
            gender#campaign |
      Male#Campaign Period  |   1.111374   .1644473     0.71   0.475     .8315918    1.485287
                            |
        time_until_election |   .9924295   .0004591   -16.43   0.000       .99153    .9933298
                            |
                      party |
               Fianna Fáil  |   1.062339   .2058113     0.31   0.755     .7267023    1.552995
                 Fine Gael  |    .938523   .1873904    -0.32   0.751     .6345847    1.388034
               Green Party  |   .9791359    .206643    -0.10   0.920     .6474409    1.480764
                    Labour  |   .9201964   .2188517    -0.35   0.727     .5773484    1.466639
                 Other/Ind  |   .9345171   .2080522    -0.30   0.761      .604065    1.445742
                 Sinn Féin  |   .9535117   .2443835    -0.19   0.853     .5769849    1.575751
          Social Democrats  |    .971678     .23472    -0.12   0.905     .6052082    1.560055
            Solidarity-PBP  |   1.560312   .3690299     1.88   0.060     .9815068    2.480444
                            |
     district_magnitude_man |   .9854311   .0810091    -0.18   0.858     .8387871    1.157713
   candidates_running_const |   1.012109   .0194772     0.63   0.532     .9746458    1.051013
                            |
                urban_rural |
                     Urban  |   1.033223   .0873609     0.39   0.699     .8754345    1.219452
             twitter_length |   .9998783   .0000386    -3.15   0.002     .9998026     .999954
            followers_count |   .9999994   2.31e-06    -0.27   0.784     .9999948    1.000004
           rolavg_ntweets_7 |   .9610909   .0073498    -5.19   0.000     .9467931    .9756047
          rolavg_retweets_7 |   1.001858   .0024453     0.76   0.447     .9970765    1.006662
         sum_likes_10_tweet |   .9998657   .0000858    -1.57   0.117     .9996976    1.000034
      sum_retweets_10_tweet |   1.000447   .0003959     1.13   0.259     .9996709    1.001223
                      _cons |   .2184652   .0736111    -4.51   0.000     .1128684    .4228554
----------------------------+----------------------------------------------------------------
Neither                     |  (base outcome)
----------------------------+----------------------------------------------------------------
Policy                      |
           first_pref_share |   1.001991   .0126979     0.16   0.875     .9774103     1.02719
                            |
                   campaign |
           Campaign Period  |   .8611865   .1185788    -1.09   0.278     .6574962    1.127979
                            |
campaign#c.first_pref_share |
           Campaign Period  |   .9877374   .0084352    -1.44   0.149     .9713424    1.004409
                            |
                sum_running |    1.18968   .0389194     5.31   0.000     1.115793    1.268459
                            |
     campaign#c.sum_running |
           Campaign Period  |   .9896981    .033755    -0.30   0.761     .9257023    1.058118
                            |
                     gender |
                      Male  |   .9722644   .1191787    -0.23   0.819     .7646196    1.236299
                            |
            gender#campaign |
      Male#Campaign Period  |   1.359012    .185352     2.25   0.025     1.040232    1.775482
                            |
        time_until_election |   1.000616   .0003884     1.59   0.113     .9998548    1.001377
                            |
                      party |
               Fianna Fáil  |   .5128646   .0805642    -4.25   0.000     .3769557    .6977745
                 Fine Gael  |   .4212911   .0624744    -5.83   0.000     .3150325      .56339
               Green Party  |   .8487685   .1541279    -0.90   0.367     .5945927    1.211599
                    Labour  |   .4262252   .0905321    -4.01   0.000     .2810867    .6463057
                 Other/Ind  |   .6382425   .1438978    -1.99   0.046     .4102743     .992881
                 Sinn Féin  |   .4905561   .1452417    -2.41   0.016     .2745799    .8764126
          Social Democrats  |   .7237309   .1362544    -1.72   0.086      .500408    1.046719
            Solidarity-PBP  |   1.111553   .2280556     0.52   0.606     .7435165    1.661766
                            |
     district_magnitude_man |     .89755   .0793251    -1.22   0.221     .7547965    1.067302
   candidates_running_const |   1.011203   .0281292     0.40   0.689     .9575467    1.067866
                            |
                urban_rural |
                     Urban  |   1.124232   .1267881     1.04   0.299     .9012799    1.402337
             twitter_length |   .9999125   .0000524    -1.67   0.095     .9998098    1.000015
            followers_count |   1.000004   1.79e-06     2.06   0.039            1    1.000007
           rolavg_ntweets_7 |   .9817976   .0081458    -2.21   0.027     .9659613    .9978935
          rolavg_retweets_7 |   1.003988   .0027887     1.43   0.152     .9985369    1.009469
         sum_likes_10_tweet |   .9997528   .0000982    -2.52   0.012     .9995604    .9999452
      sum_retweets_10_tweet |   1.001219      .0005     2.44   0.015      1.00024      1.0022
                      _cons |   1.169788   .3907529     0.47   0.639     .6078185    2.251336
---------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.

. 
. *Table A8 for Model A3
. esttab using "../../Output/Tables/tab_a08.tex", ///
>         order(competitiveness sum_running gender campaign) ///
>         label mlabels(none) collabels(none) wide nobaselevels unstack eform noomitted fragment replace
(output written to ../../Output/Tables/tab_a08.tex)

.         
. 
. *Model A4 - Age as experience control
. mlogit dv_categories c.competitiveness##ib2.campaign c.sum_running##ib2.campaign i.gender##ib2.campaign c.age ///
>         c.time_until_election i.party c.district_magnitude_man c.candidates_running_const i.urban_rural ///
>         c.twitter_length c.followers_count c.rolavg_ntweets_7 c.rolavg_retweets_7 c.sum_likes_10_tweet ///
>         c.sum_retweets_10_tweet, vce(cluster screen_name) rrr

Iteration 0:   log pseudolikelihood = -51544.244  
Iteration 1:   log pseudolikelihood = -48098.407  
Iteration 2:   log pseudolikelihood = -46170.285  
Iteration 3:   log pseudolikelihood = -45980.631  
Iteration 4:   log pseudolikelihood = -45976.336  
Iteration 5:   log pseudolikelihood = -45976.332  

Multinomial logistic regression                         Number of obs = 50,334
                                                        Wald chi2(75) =      .
                                                        Prob > chi2   =      .
Log pseudolikelihood = -45976.332                       Pseudo R2     = 0.1080

                                  (Std. err. adjusted for 146 clusters in screen_name_merge)
--------------------------------------------------------------------------------------------
                           |               Robust
             dv_categories |        RRR   std. err.      z    P>|z|     [95% conf. interval]
---------------------------+----------------------------------------------------------------
Both                       |
           competitiveness |   1.308385     .59288     0.59   0.553     .5382983    3.180153
                           |
                  campaign |
          Campaign Period  |   3.771002   1.311788     3.82   0.000     1.907024    7.456884
                           |
campaign#c.competitiveness |
          Campaign Period  |    1.48409   .6195489     0.95   0.344     .6548126    3.363591
                           |
               sum_running |    1.13778   .0942024     1.56   0.119     .9673485    1.338238
                           |
    campaign#c.sum_running |
          Campaign Period  |   1.060431   .0690158     0.90   0.367     .9334348    1.204706
                           |
                    gender |
                     Male  |   .9614025   .2463372    -0.15   0.878     .5818412    1.588569
                           |
           gender#campaign |
     Male#Campaign Period  |   1.223821   .3803056     0.65   0.516     .6655871    2.250251
                           |
                       age |   1.006235   .0121309     0.52   0.606     .9827372    1.030294
       time_until_election |    .995533   .0008396    -5.31   0.000     .9938888    .9971799
                           |
                     party |
              Fianna Fáil  |   .2280482   .0539048    -6.25   0.000     .1434909    .3624342
                Fine Gael  |   .1507982   .0371866    -7.67   0.000     .0930018    .2445126
              Green Party  |    .566343   .1664957    -1.93   0.053     .3183025    1.007672
                   Labour  |   .1909351   .0732912    -4.31   0.000     .0899805    .4051567
                Other/Ind  |    .126832   .0769887    -3.40   0.001     .0385956    .4167922
                Sinn Féin  |   .2959851   .0995218    -3.62   0.000     .1531308    .5721068
         Social Democrats  |    .283134   .1449377    -2.46   0.014     .1038144     .772194
           Solidarity-PBP  |   1.227962   .4963677     0.51   0.611     .5560473    2.711804
                           |
    district_magnitude_man |   .7989092    .130394    -1.38   0.169     .5801877    1.100085
  candidates_running_const |   1.030175   .0459382     0.67   0.505     .9439603    1.124264
                           |
               urban_rural |
                    Urban  |   1.259947   .2373993     1.23   0.220     .8709007    1.822786
            twitter_length |   .9998245   .0001078    -1.63   0.104     .9996131    1.000036
           followers_count |   1.000003   1.91e-06     1.83   0.067     .9999998    1.000007
          rolavg_ntweets_7 |   .9897521   .0159769    -0.64   0.523     .9589281    1.021567
         rolavg_retweets_7 |   1.005587   .0027762     2.02   0.044     1.000161    1.011043
        sum_likes_10_tweet |   .9998118   .0000892    -2.11   0.035      .999637    .9999865
     sum_retweets_10_tweet |   1.000655   .0004303     1.52   0.128     .9998117    1.001498
                     _cons |   .2212141    .183467    -1.82   0.069     .0435368    1.124006
---------------------------+----------------------------------------------------------------
Electioneering             |
           competitiveness |   .6896756   .1776518    -1.44   0.149     .4162804    1.142625
                           |
                  campaign |
          Campaign Period  |   3.099697   .7603076     4.61   0.000     1.916605    5.013093
                           |
campaign#c.competitiveness |
          Campaign Period  |   1.891806   .5626458     2.14   0.032     1.056134    3.388708
                           |
               sum_running |   1.053178   .0570875     0.96   0.339     .9470269    1.171227
                           |
    campaign#c.sum_running |
          Campaign Period  |   1.002114    .046624     0.05   0.964     .9147751    1.097791
                           |
                    gender |
                     Male  |   1.081362   .1784456     0.47   0.635     .7825402    1.494294
                           |
           gender#campaign |
     Male#Campaign Period  |   .9769915   .2203209    -0.10   0.918     .6279669    1.520004
                           |
                       age |   1.005827   .0077914     0.75   0.453     .9906711    1.021214
       time_until_election |   .9922578   .0005792   -13.31   0.000     .9911232    .9933937
                           |
                     party |
              Fianna Fáil  |    .670823   .1202485    -2.23   0.026     .4720909    .9532137
                Fine Gael  |   .6357233   .1197567    -2.40   0.016     .4394606    .9196366
              Green Party  |   .9254491   .1495021    -0.48   0.632      .674287    1.270166
                   Labour  |   .4666175   .1369954    -2.60   0.009     .2624549    .8295975
                Other/Ind  |   .5839473   .1873078    -1.68   0.094     .3114161     1.09498
                Sinn Féin  |   .6287148   .1389505    -2.10   0.036     .4076918    .9695614
         Social Democrats  |   .4292853   .1049863    -3.46   0.001     .2658126    .6932923
           Solidarity-PBP  |   .9701463   .2627915    -0.11   0.911     .5705127    1.649716
                           |
    district_magnitude_man |   1.056716   .1141113     0.51   0.609     .8551456    1.305801
  candidates_running_const |   .9955142   .0278216    -0.16   0.872     .9424515    1.051565
                           |
               urban_rural |
                    Urban  |   1.277776   .1509955     2.07   0.038     1.013602      1.6108
            twitter_length |   .9997622   .0000675    -3.52   0.000     .9996299    .9998945
           followers_count |   1.000001   1.19e-06     0.92   0.360     .9999988    1.000003
          rolavg_ntweets_7 |   .9542151   .0125144    -3.57   0.000     .9299998    .9790609
         rolavg_retweets_7 |   1.003341   .0017284     1.94   0.053     .9999588    1.006734
        sum_likes_10_tweet |   .9999106   .0000829    -1.08   0.281     .9997481    1.000073
     sum_retweets_10_tweet |   1.000194   .0003945     0.49   0.622     .9994214    1.000968
                     _cons |   .4399972    .231027    -1.56   0.118     .1572223    1.231362
---------------------------+----------------------------------------------------------------
Neither                    |  (base outcome)
---------------------------+----------------------------------------------------------------
Policy                     |
           competitiveness |   1.799948   .6427235     1.65   0.100      .893951    3.624149
                           |
                  campaign |
          Campaign Period  |   .5662903   .1404882    -2.29   0.022     .3482321    .9208937
                           |
campaign#c.competitiveness |
          Campaign Period  |   1.662166   .5110141     1.65   0.098     .9098758    3.036454
                           |
               sum_running |   1.194871   .0622643     3.42   0.001      1.07886    1.323356
                           |
    campaign#c.sum_running |
          Campaign Period  |   .9953776   .0403834    -0.11   0.909     .9192926     1.07776
                           |
                    gender |
                     Male  |   .8666778    .166278    -0.75   0.456     .5950437    1.262311
                           |
           gender#campaign |
     Male#Campaign Period  |   1.169089   .2332975     0.78   0.434     .7906528    1.728658
                           |
                       age |   .9967003   .0090019    -0.37   0.714     .9792121    1.014501
       time_until_election |   1.000759   .0003439     2.21   0.027     1.000085    1.001433
                           |
                     party |
              Fianna Fáil  |   .3911015   .0725161    -5.06   0.000     .2719342    .5624905
                Fine Gael  |    .402077   .0739488    -4.95   0.000     .2803875    .5765801
              Green Party  |   .6147276   .1546811    -1.93   0.053     .3754039    1.006623
                   Labour  |   .3648429   .1090816    -3.37   0.001     .2030541    .6555415
                Other/Ind  |   .3050194   .0804102    -4.50   0.000     .1819411    .5113568
                Sinn Féin  |   .4231757    .136773    -2.66   0.008     .2245987     .797323
         Social Democrats  |   .5152414   .1575467    -2.17   0.030     .2829676    .9381771
           Solidarity-PBP  |   1.455354   .4071283     1.34   0.180      .841103    2.518189
                           |
    district_magnitude_man |   1.015751   .1016198     0.16   0.876     .8348909    1.235791
  candidates_running_const |   .9853281   .0337874    -0.43   0.666     .9212823    1.053826
                           |
               urban_rural |
                    Urban  |   1.245331   .1871347     1.46   0.144     .9276315    1.671837
            twitter_length |   .9999166    .000069    -1.21   0.226     .9997814    1.000052
           followers_count |   1.000002   1.57e-06     1.38   0.168     .9999991    1.000005
          rolavg_ntweets_7 |   .9906686   .0135776    -0.68   0.494     .9644113    1.017641
         rolavg_retweets_7 |   1.002097   .0014821     1.42   0.157     .9991964    1.005006
        sum_likes_10_tweet |   .9998467   .0000547    -2.80   0.005     .9997394     .999954
     sum_retweets_10_tweet |   1.000795   .0002745     2.90   0.004     1.000257    1.001333
                     _cons |   .9166903   .5859402    -0.14   0.892     .2619041    3.208507
--------------------------------------------------------------------------------------------
Note: _cons estimates baseline relative risk for each outcome.

. 
. *Table A9 for Model A4
. esttab using "../../Output/Tables/tab_a09.tex", ///
>         order(competitiveness sum_running gender campaign) ///
>         label mlabels(none) collabels(none) wide nobaselevels unstack eform noomitted fragment replace
(output written to ../../Output/Tables/tab_a09.tex)

.         
. 
end of do-file

. log close
      name:  <unnamed>
       log:  /Users/jamescross/Dropbox/GE2020/Images/Data/Data_Analysis/GE2020_analysis_final_log_file.log
  log type:  text
 closed on:  14 Aug 2025, 12:21:30
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
